package application

import (
	"zatta-gateway/config"
	"zatta-gateway/pkg/db"
)

type Application struct {
	applicationConfig *config.ApplicationConfig
	dbClientManager   *db.ClientManager
}

func newApplication(appConfig *config.ApplicationConfig, dbClientManager *db.ClientManager) *Application {
	return &Application{
		applicationConfig: appConfig,
		dbClientManager:   dbClientManager,
	}
}

func (a *Application) ApplicationConfig() *config.ApplicationConfig {
	return a.applicationConfig
}

func (a *Application) DBClientManager() *db.ClientManager {
	return a.dbClientManager
}
